package web.login;

import org.apache.wicket.Component;
import org.apache.wicket.markup.html.panel.EmptyPanel;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;
import org.wicketstuff.annotation.mount.MountPath;
import org.wicketstuff.annotation.strategy.MountIndexedParam;
import web.BasePage;
import web.panels.TopMenuPanel;

@MountPath(path = "settings")
@SuppressWarnings("serial")
@MountIndexedParam
public class UserSettingsPage extends BasePage {


    @Override
    public IModel getPageTitle() {
        return new Model("Osobní stránka");
    }

    @Override
    public IModel getDescription() {
        return new Model("Osobní stránka");
    }

    @Override
    public IModel getKeywords() {
        return new Model("Osobní stránka");
    }

    @Override
    protected Component newLeftPanel(String id) {
        return new EmptyPanel(id);
    }

    @Override
    protected Component newRightPanel(String id) {
        return new EmptyPanel(id);
    }

    @Override
    protected Component newTopPanel(String id) {
        return new TopMenuPanel(id);

    }


    public UserSettingsPage() {
        ChangePasswordPanel changePasswordPanel = new ChangePasswordPanel("changePasswordPanel");
        add(changePasswordPanel);
    }
}
